<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla view library
jimport('joomla.application.component.view');
jimport( 'joomla.application.application' );
/**
 * HTML View class for the HelloWorld Component
 */
class TinTucViewChiTiet extends JViewLegacy
{
         // Overwriting JView display method
        public function display($tpl = null) 
        {
				$this->data = JRequest::getVar('data','');
				// print_r($this->data);
                // Assign data to the view
                $this->msg = $this->get('Msg');
                // Check for errors.
                if (count($errors = $this->get('Errors'))) 
                {
                        JLog::add(implode('<br />', $errors), JLog::WARNING, 'jerror');
                        return false;
                }
                // Display the view
                parent::display($tpl);
        }
}